package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @author zhouwei
 * @date 2019-12-29 19:51
 */
public interface CheckItemService {
    //新增检查项
    public void add(CheckItem checkItem);

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //删除检查项
    public void delete(Integer id);

    //查找单个检查项
    public Result findById(Integer id);

    //编辑检查项
    public void edit(CheckItem checkItem);

    //查询所有检查项
    public List<CheckItem> findAll();

}
